Changes bit depth of image channels.
Syntax
'Declaration
Public Overloads Shared Sub ChangeChannelDepths( _
ByVal As ImGearRasterPage, _
ByVal () As Integer, _
ByVal As Boolean _
)
'Usage
Dim page As ImGearRasterPage
Dim newChannelDepths() As Integer
Dim doNotScalePixels As Boolean
ImGearRasterProcessing.ChangeChannelDepths(page, newChannelDepths, doNotScalePixels)
public static void ChangeChannelDepths(
ImGearRasterPage ,
int[] ,
bool
)
public: static void ChangeChannelDepths(
ImGearRasterPage* ,
int[]* ,
bool
)
public:
static void ChangeChannelDepths(
ImGearRasterPage^ ,
array<int>^ ,
bool
)
Parameters
- page
- Page to process.
- newChannelDepths
- Array containing new channels depths.
- doNotScalePixels
- Flags indicating whether to scale pixel values according to the new channel depth.
See Also